"""
1.传入n个数字
2.*args接收 --元组格式的数据 循环遍历
"""
def sums(*args):
    # for循环
    s = 0
    for i in args:
        s+=i
    print(s)  # 求和的最终值

sums(10,20,30,40,50)
sums(12,34,56)